import {defaultAxios as request } from '@/utils/http/index.js';
var api = "/api/tdengine/managerpoints";


export function showTables(data = {},timeout=200000) {
  return request({
    url: api + '/showTables',
    method: 'post',
    data,
    timeout: timeout
  });
}

export function deleteTables(data = {},timeout=200000) {
  return request({
    url: api + '/deleteTables',
    method: 'post',
    data,
    timeout: timeout
  });
}


export function syncDBToTDengine(data = {},timeout=200000) {
  return request({
    url: api + '/syncDBToTDengine',
    method: 'post',
    data,
    timeout: timeout
  });
}

//通过文件修改测点描述
export function updateTagDesc(data = {},timeout=200000){
	return request({
    url: api + '/updateTagDescByFile',
    method: 'post',
    data,
    timeout: timeout
  });
}




